package cn.edu.jxau.domain;

import java.util.Date;

/*
 * 帖子表
 */
public class post {
	private String postId; // 帖子的ID
	private String title; // 帖子标题
	private String content; // 帖子内容
	private String poster; // 发帖者

	private String time; // 发帖时间
	private String type; // 帖子类型
	private int pageView;// 帖子浏览量
	private String valuable;//帖子是否加精

	public String getValuable() {
		return valuable;
	}

	public void setValuable(String valuable) {
		this.valuable = valuable;
	}

	public int getPageView() {
		return pageView;
	}

	public void setPageView(int i) {
		this.pageView = i;
	}

	public String getPostId() {
		return postId;
	}

	public void setPostId(String string) {
		this.postId = string;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getType() {
		return type;
	}

	public void setType(String type){
		this.type=type;
	}

	public String getPoster() {
		return poster;
	}

	public void setPoster(String poster) {
		this.poster = poster;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "post [postId=" + postId + ", title=" + title + ", content=" + content + ", poster=" + poster + ", time="
				+ time + ", type=" + type + ", pageView=" + pageView ;
	}
	
}
